package com.example.zhinongbao.entity;

public class UserInfo {
    private  String user_id;
    private  String username;
    private  String password;
    private  String nickname;
    private  String phone;
    private String concern;
    private int age;
    private String  address;
    private String  paypassword;

    public UserInfo(String user_id, String username, String password, String nickname, int age, String address,String phone,String paypassword,String concern) {
        this.user_id = user_id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.age = age;
        this.address = address;
        this.phone =phone;
        this.paypassword=paypassword;
        this.concern=concern;
    }



    public UserInfo() {
        this.phone = phone;
        this.username = username;
    }

    public UserInfo(String user_id, String password, String nickname, String username) {
        this.user_id = user_id;
        this.password =password;
        this.nickname = nickname;
        this.password = password;
        this.username = username;
    }



    public UserInfo(String user_id, String password, String nickname, String phone, int age, String address, String paypassword, String concern) {
        this.user_id = user_id;
        this.password = password;
        this.nickname = nickname;
        this.age = age;
        this.address = address;
        this.phone =phone;
        this.paypassword=paypassword;
        this.concern=concern;


    }


    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPaypassword() {
        return paypassword;
    }

    public void setPaypassword(String paypassword) {
        this.paypassword = paypassword;
    }

    public String getConcern() {
        return concern;
    }

    public void setConcern(String concern) {
        this.concern = concern;
    }


    @Override
    public String toString() {
        return "UserInfo{" +
                "user_id=" + user_id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                ", concern='" + concern + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", paypassword='" + paypassword + '\'' +
                '}';
    }
}


